local M = {}

M.modes = { "core", "standard", "pro" }
M.github_methods = { "https", "ssh" }

M.my_mode = "core"
M.github_method = "https"

if not vim.g.my_mode == nil then
  M = vim.g.my_mode
end

function M.isCore()
  return M.my_mode == "core"
end

function M.isStandard()
  return M.my_mode == "standard"
end

function M.isPro()
  return M.my_mode == "pro"
end

function M.isHttps()
  return M.github_method == "https"
end

function M.isSsh()
  return M.github_method == "ssh"
end

if vim.g.my_mode == nil then
  vim.g.my_mode = M
end

return M
